package com.mingke.java.AIO;

import java.nio.channels.AsynchronousSocketChannel;
import java.nio.channels.CompletionHandler;

/**
 * @author mingke
 * @function AIO写入信息的回调
 * @date 2021/11/9
 */
public class AIOWriteHandler implements CompletionHandler<Integer, AsynchronousSocketChannel> {
    @Override
    public void completed(Integer result, AsynchronousSocketChannel attachment) {

    }

    @Override
    public void failed(Throwable exc, AsynchronousSocketChannel attachment) {

    }
}
